<?php

class indexControler extends Controler {
    
    public function index(){
        $user=loadclass("/model","userModel");
        $result=$user->select("name");

        $arr=$result->fetchAll();
        
        $err=$result->errorinfo();
        
        $Column=$user->select("name")->fetchColumn();
    
        $this->render(array(
            "title"=>"视图渲染测试",
            "arr"=>$arr
        ));

    }
}